package com.homeWork;

public class SmallCar extends Vehicle {
    private int loader;

    public SmallCar(int wheels, double weight, int loader) {
        super(wheels, weight);
        this.loader = loader;
    }

    public SmallCar() {

    }
    public void setLoader(int loader){
        this.loader=loader;
    }
    public int getLoader(){
        return this.loader;
    }
    public void print(){
        super.print();
        System.out.println(getLoader());
    }
}
